;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-jiahao" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M512 112c52.4 0 103.2 10.3 151 30.5 46.2 19.5 87.7 47.5 123.3 83.2C822 261.3 850 302.8 869.5 349c20.2 47.8 30.5 98.6 30.5 151s-10.3 103.2-30.5 151c-19.5 46.2-47.5 87.7-83.2 123.3C750.7 810 709.2 838 663 857.5c-47.8 20.2-98.6 30.5-151 30.5s-103.2-10.3-151-30.5c-46.2-19.5-87.7-47.5-123.3-83.2C202 738.7 174 697.2 154.5 651c-20.2-47.8-30.5-98.6-30.5-151s10.3-103.2 30.5-151c19.5-46.2 47.5-87.7 83.2-123.3C273.3 190 314.8 162 361 142.5 408.8 122.3 459.6 112 512 112M512 52C264.6 52 64 252.6 64 500s200.6 448 448 448 448-200.6 448-448S759.4 52 512 52L512 52z"  ></path>' +
    '' +
    '<path d="M727 470 542 470 542 285c0-16.6-13.4-30-30-30s-30 13.4-30 30l0 185L297 470c-16.6 0-30 13.4-30 30s13.4 30 30 30l185 0 0 185c0 16.6 13.4 30 30 30s30-13.4 30-30L542 530l185 0c16.6 0 30-13.4 30-30S743.6 470 727 470z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-xiaoxi" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.989333 895.997315c-32.747348 0-85.335109 0-85.335109 0L192.004007 1023.999979 192.004007 789.349762c-116.973101-82.113709-192.003996-199.961495-192.003996-341.361771C1.1e-05 200.580175 229.231448 0 511.989333 0s511.989322 200.580175 511.989322 447.98799C1023.999989 695.438474 794.768552 895.997315 511.989333 895.997315L511.989333 895.997315zM511.989333 63.979998c-247.407816 0-448.030658 171.928912-448.030658 384.007992 0 130.136042 76.524259 250.543881 192.046664 319.985326l0 142.232294 170.627551-78.209628c0 0 47.979665 0 85.335109 0 247.407816 0 448.030658-171.928912 448.030658-384.007992C960.019991 235.887576 759.397149 63.979998 511.989333 63.979998L511.989333 63.979998zM768.015995 511.989322c-35.371403 0-64.022666-28.651263-64.022666-64.022666s28.651263-64.022666 64.022666-64.022666c35.328735 0 63.979998 28.651263 63.979998 64.022666S803.34473 511.989322 768.015995 511.989322L768.015995 511.989322zM511.989333 511.989322c-35.371403 0-64.022666-28.651263-64.022666-64.022666s28.651263-64.022666 64.022666-64.022666c35.371403 0 64.022666 28.651263 64.022666 64.022666S547.360736 511.989322 511.989333 511.989322L511.989333 511.989322zM255.984005 511.989322c-35.328735 0-63.979998-28.651263-63.979998-64.001332s28.651263-64.022666 63.979998-64.022666c35.371403 0 64.022666 28.651263 64.022666 64.022666S291.334074 511.989322 255.984005 511.989322L255.984005 511.989322z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-discover" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M874.048 149.952c-199.936-199.936-524.16-199.936-724.096 0s-199.936 524.16 0 724.096 524.16 199.936 724.096 0S1073.984 349.888 874.048 149.952zM184.64 839.36C3.84 658.56 3.84 365.44 184.64 184.64s473.92-180.8 654.72 0 180.8 473.92 0 654.784S365.44 1020.16 184.64 839.36z"  ></path>' +
    '' +
    '<path d="M437.376 432.704l-187.008 345.664 339.072-193.6 193.6-339.072L437.376 432.704zM516.672 545.536C498.112 545.536 483.136 530.56 483.136 512c0-18.496 15.04-33.536 33.536-33.536 18.496 0 33.536 15.04 33.536 33.536C550.208 530.56 535.168 545.536 516.672 545.536z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-mine" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.097444 480.58143c-114.51001 0-207.674876-93.160773-207.674876-207.670783 0-114.502847 93.164866-207.655434 207.674876-207.655434 114.502847 0 207.668737 93.152587 207.668737 207.655434C718.766181 387.42168 625.601314 480.58143 511.097444 480.58143L511.097444 480.58143zM511.097444 115.070782c-87.047542 0-157.854191 70.806649-157.854191 157.840888 0 87.047542 70.806649 157.860331 157.854191 157.860331 87.041402 0 157.854191-70.813812 157.854191-157.860331C668.952658 185.877431 598.138846 115.070782 511.097444 115.070782L511.097444 115.070782zM511.097444 115.070782"  ></path>' +
    '' +
    '<path d="M511.097444 962.01425c-181.852768 0-365.333616-51.311643-365.333616-165.914774 0-201.443965 163.889651-365.333616 365.333616-365.333616s365.327476 163.889651 365.327476 365.333616C876.42492 910.703631 692.945095 962.01425 511.097444 962.01425L511.097444 962.01425zM511.097444 480.58143c-173.975357 0-315.518047 141.54883-315.518047 315.518047 0 66.188468 135.644353 116.098181 315.518047 116.098181 179.865507 0 315.511907-49.909713 315.511907-116.098181C826.609351 622.131283 685.066661 480.58143 511.097444 480.58143L511.097444 480.58143zM511.097444 480.58143"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-address_book" viewBox="0 0 1025 1024">' +
    '' +
    '<path d="M154.1994 878.357848l-0.074374 0c-25.463497 0-46.120316-6.351531-63.1785-19.422212C71.929121 844.360477 61.433901 824.240213 60.593476 800.756124l-0.138123-3.446699c-0.51318-13.043057-1.096484-27.831775 3.581634-43.148548 9.545358-31.106351 30.499673-53.989074 62.279639-68.063803 45.761196-20.266887 91.733827-40.074781 137.69477-59.869925l4.74293-2.04422c5.898913-2.545712 11.921073-4.819429 17.943234-7.079333 6.330281-2.401214 12.6595-4.760992 18.798534-7.552138 6.636277-3.03233 8.294814-4.304124 8.697496-4.718493-0.101998 0 0.877612-2.746522 0.51318-13.559424-0.168935-4.775867-1.988971-9.868354-5.55573-15.588769l-7.659449-12.256818c-12.95062-20.696131-26.341109-42.090313-38.679739-63.843616-13.023932-22.954972-22.797724-47.941414-29.031319-74.284648-4.889552-20.609007-6.044473-43.063549-3.529573-68.649232 2.893145-29.390439 10.225348-57.45171 21.794739-83.423075 24.595448-55.148245 59.545867-92.647563 106.857228-114.657987 60.276856-28.032584 121.927504-23.213156 179.033907 14.042854 30.792918 20.094764 55.045184 47.724667 74.142275 84.48131 21.72249 41.861879 32.02965 86.984522 30.639921 134.108886-0.921174 31.736404-12.062384 59.852925-21.664054 80.819989-11.592766 25.31475-26.379359 48.484343-40.522086 70.051711-2.485151 3.776069-5.035113 7.521326-7.5872 11.255958-5.831976 8.56681-11.351582 16.648066-15.817203 24.956692-5.086112 9.467797-6.92846 18.764534-5.467544 27.689402 9.050241 7.336454 20.873565 12.212194 32.235772 16.560942 19.87908 7.650949 39.788972 15.215837 59.698865 22.767975 33.081509 12.572376 66.168331 25.14369 99.109593 38.058186 36.465522 14.286163 60.066484 40.97258 68.266737 77.158668 4.093752 17.992108 4.093752 36.868203-0.02975 54.561753-5.188111 22.125172-20.741817 50.571062-65.442654 60.596664-7.807134 1.744599-16.373945 2.545712-27.000912 2.558462-59.128311 0.072249-118.273621 0.100936-177.411494 0.100936l-258.496041-0.026562L154.1994 878.357848zM436.678898 190.64686c-18.327853 0-37.215636 4.560182-56.139542 13.570049-35.624034 16.924311-62.301951 46.633496-81.583915 90.810528-9.282925 21.288997-15.185025 44.416091-17.520365 68.736356-1.985783 20.671693-1.199545 37.666129 2.477713 53.496082 5.079737 21.933925 13.009057 42.703367 23.562713 61.705897 11.394081 20.544195 24.011081 41.14789 36.205213 61.060969l7.382141 12.068759c7.39489 12.111258 11.198584 23.981332 11.619328 36.304024 1.066734 31.885152-7.129269 46.100129-33.749812 58.491882-6.777587 3.143891-13.753859 5.838351-20.735442 8.532811-5.142424 1.992158-10.293347 3.957754-15.338023 6.175158l-4.553807 2.007033c-43.980473 19.380775-87.990695 38.746675-131.789483 58.575819-18.916469 8.546623-30.774856 21.597117-36.268962 39.868659-2.434151 8.154567-2.055907 17.936859-1.647913 28.319455l0.132811 3.508323c0.365495 10.371971 4.384872 18.217355 12.652062 24.686821 8.602935 6.734025 19.422212 9.878978 34.058995 9.878978l0 21.554618 0.042499-21.554618 123.284297-0.042499 248.161257 0.027625c56.757908 0 113.510504-0.027625 170.269475-0.097749 6.912522-0.015937 12.117633-0.464306 16.369695-1.432229 22.637289-5.178548 28.13777-17.17612 30.396612-27.043411 2.5404-11.12846 2.534025-23.098407-0.027625-34.57855-4.785429-21.583305-17.695675-36.318899-39.490414-45.047207-31.476096-12.615938-63.093502-24.896131-94.71197-37.160386-19.162966-7.438452-38.333369-14.875842-57.467648-22.397168-13.915356-5.460107-29.917431-12.266381-43.748851-24.081205-6.870023-5.867038-11.922136-14.455098-13.562611-22.959222-3.607134-18.693348-0.420744-38.270682 9.219176-56.583661 5.340046-10.145662 11.515204-19.393525 17.486366-28.348142 2.301341-3.452011 4.617557-6.904023 6.856211-10.412346 12.699874-19.787707 25.92674-40.949205 35.848218-63.080752 7.577638-16.911562 16.362257-39.350166 17.036935-62.898005 1.129421-38.97086-7.200456-76.257681-24.755883-110.822419-14.889654-29.287378-33.420442-51.05343-56.666535-66.560388C485.824107 198.815239 461.165973 190.64686 436.678898 190.64686z"  ></path>' +
    '' +
    '<path d="M835.760729 386.796326c32.263396 0 64.533168-0.069061 96.795502 0.056312 4.393372 0.014875 8.93868 0.322995 13.150367 1.473666 11.057274 3.017455 16.853125 11.704326 16.502505 23.759273-0.35062 11.47908-7.318391 19.941767-18.971719 22.481104-4.014065 0.857425-8.197066 1.206982-12.309942 1.206982-64.096487 0.070124-128.180224 0.098811-192.272461-0.042499-4.960739-0.013812-10.14035-0.505742-14.812093-2.020845-11.408956-3.676195-16.51738-12.461878-15.633393-25.205314 0.694865-10.369846 8.000506-18.52335 18.847408-20.628132 3.886567-0.757551 7.921883-1.025297 11.884949-1.03911C771.213749 386.755951 803.490958 386.796326 835.760729 386.796326z"  ></path>' +
    '' +
    '<path d="M856.30705 549.17898c-25.140502 0-50.295879 0.251809-75.428944-0.169997-6.195346-0.098811-12.78381-1.346168-18.412852-3.816443-9.613357-4.266937-13.5148-14.650595-11.352644-26.383609 1.775411-9.598483 9.774855-16.670378 20.90969-18.241792 3.212952-0.449431 6.476904-0.674677 9.717481-0.674677 50.311816-0.041437 100.592821-0.084999 150.903574 0.043562 4.813054 0.01275 9.822667 0.519555 14.411536 1.878472 9.851354 2.904832 15.465521 11.914698 15.156338 22.999596-0.294308 11.536454-6.012598 19.732457-16.432381 22.595852-4.35831 1.208045-9.031116 1.670225-13.577486 1.711662C906.905737 549.262916 881.603737 549.17898 856.30705 549.17898z"  ></path>' +
    '' +
    '<path d="M892.022457 655.804586c-6.802024 0-34.037745 0.059499-61.272404-0.026562-7.846446-0.028687-15.493145-1.264356-21.528056-6.751025-7.859196-7.171769-9.220238-16.265571-6.246345-26.032989 3.087579-10.201974 11.122085-14.410474 20.953252-15.885202 3.058892-0.449431 6.202783-0.548242 9.2893-0.548242 32.853075-0.041437 65.705088-0.126436 98.558163 0.070124 5.381483 0.027625 10.995649 0.757551 16.090261 2.412902 9.470985 3.115204 14.242601 10.988212 14.355225 21.681053 0.112623 10.553656-4.629244 18.847408-13.808045 22.116672-5.037238 1.782849-10.63653 2.708272-16.0042 2.819833C915.540546 656.029833 908.89152 655.804586 892.022457 655.804586z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-message" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M192.32 956.124c-41.193 0-65.913-10.996-71.52-31.811-2.574-9.578-2.574-28.167 26.4-45.011 23.302-13.571 44.596-33.927 63.447-60.611-110.574-81.076-173.564-199.396-173.564-327.709 0-234.087 212.989-424.56 474.764-424.56 261.971 0 475.069 190.451 475.069 424.56 0 234.131-213.12 424.626-475.047 424.626-46.56 0-93.076-6.284-138.393-18.676-63.534 43.527-134.574 59.193-181.156 59.193zM177.658 911.789c4.102 0.436 8.989 0.698 14.662 0.698 41.847 0 106.953-14.967 164.16-56.967l8.706-6.414 10.386 3.076c44.553 13.156 90.393 19.811 136.298 19.811 237.884 0 431.411-170.902 431.411-380.989 0-210.044-193.549-380.924-431.433-380.924-237.731 0-431.127 170.88-431.127 380.924 0 120.174 62.64 230.902 171.862 303.796l17.411 11.629-10.887 17.869c-23.171 38.073-50.553 67.44-81.447 87.491z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-yuyin-copy" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M1005.361 513.098c0-136.464-58.494-263.196-146.22-346.051-92.608-92.608-209.584-146.22-346.051-146.22-136.464 0-263.196 53.619-346.051 146.22-92.608 82.855-146.22 209.584-146.22 346.051 0 136.464 53.619 258.323 146.22 350.931 82.855 87.729 209.584 146.22 346.051 146.22 136.464 0 253.453-58.494 346.051-146.22 87.729-92.608 146.22-214.455 146.22-350.931zM873.763 152.415c92.608 87.729 151.093 214.455 151.093 360.683 0 141.349-58.494 268.071-151.093 365.551-97.481 92.608-219.334 146.22-360.683 146.22-146.22 0-272.944-53.619-360.683-146.22-92.608-97.481-151.093-224.203-151.093-365.551 0-146.22 58.494-272.944 151.093-360.683 87.729-92.608 214.455-151.093 360.683-151.093 141.349 0 263.196 58.494 360.683 151.093z"  ></path>' +
    '' +
    '<path d="M284.005 517.969c0-14.62 4.875-29.243 14.62-43.866 9.751-9.751 24.373-14.62 38.988-14.62 14.62 0 29.243 4.875 43.866 14.62 9.751 14.62 14.62 29.243 14.62 43.866 0 14.62-4.875 34.119-14.62 43.866-14.62 9.751-29.243 14.62-43.866 14.62-14.62 0-29.243-4.875-38.988-14.62-9.751-9.751-14.62-29.243-14.62-43.866zM742.16 527.716v-34.119c-4.875-112.108-58.494-219.334-136.464-287.573 0 0-9.751 0-24.373 0-19.495 0-38.988 14.62-38.988 38.988 0 14.62 29.243 34.119 38.988 38.988 53.619 58.494 87.729 136.464 87.729 219.334 0 97.481-38.988 180.333-102.362 238.823-14.62 4.875-24.373 19.495-24.373 38.988 0 19.495 19.495 38.988 38.988 38.988 14.62 0 24.373-4.875 24.373-4.875 77.987-68.242 131.597-170.593 136.464-287.573zM474.094 332.752c0 0-9.751-9.751-24.373-9.751s-29.243 14.62-29.243 34.119c0 19.495 14.62 29.243 19.495 34.119 38.988 24.373 68.242 73.113 68.242 126.724 0 53.619-29.243 102.362-68.242 126.724-4.875 4.875-19.495 9.751-19.495 34.119 0 19.495 14.62 34.119 29.243 34.119 14.62 0 24.373-9.751 24.373-9.751 58.494-38.988 92.608-107.226 92.608-185.213 0-77.987-34.119-146.22-92.608-185.213z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-biaoqing-copy-copy" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M512 1024c-282.713043 0-512-229.286957-512-512s229.286957-512 512-512c282.713043 0 512 229.286957 512 512S792.486957 1024 512 1024zM512 44.521739c-258.226087 0-467.478261 209.252174-467.478261 467.478261 0 258.226087 209.252174 467.478261 467.478261 467.478261s467.478261-209.252174 467.478261-467.478261C979.478261 253.773913 768 44.521739 512 44.521739z"  ></path>' +
    '' +
    '<path d="M801.391304 554.295652c0 160.278261-129.113043 289.391304-289.391304 289.391304s-289.391304-129.113043-289.391304-289.391304L801.391304 554.295652z"  ></path>' +
    '' +
    '<path d="M674.504348 349.495652m-57.878261 0a2.6 2.6 0 1 0 115.756522 0 2.6 2.6 0 1 0-115.756522 0Z"  ></path>' +
    '' +
    '<path d="M347.269565 349.495652m-57.878261 0a2.6 2.6 0 1 0 115.756522 0 2.6 2.6 0 1 0-115.756522 0Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)